package entity;

public class Good {
	private int goodId;
	private String goodName;
	private double goodPrice;
	private int goodQuantity;
	private boolean goodUp;
	
	public Good() {
		super();
	}
	public Good(int goodId, String goodName, double goodPrice, int goodQuantity, boolean goodUp) {
		super();
		this.goodId = goodId;
		this.goodName = goodName;
		this.goodPrice = goodPrice;
		this.goodQuantity = goodQuantity;
		this.goodUp = goodUp;
	}
	
	public Good(int id, String name, double price, int quantity) {
		this.goodId = id;
		this.goodName = name;
		this.goodPrice = price;
		this.goodQuantity = quantity;
	}
	public Good(int id) {
		this.goodId = id;
	}
	public Good(String name) {
		this.goodName = name;
	}
	public int getGoodId() {
		return goodId;
	}
	public void setGoodId(int goodId) {
		this.goodId = goodId;
	}
	public String getGoodName() {
		return goodName;
	}
	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}
	public double getGoodPrice() {
		return goodPrice;
	}
	public void setGoodPrice(double goodPrice) {
		this.goodPrice = goodPrice;
	}
	public int getGoodQuantity() {
		return goodQuantity;
	}
	public void setGoodQuantity(int goodQuantity) {
		this.goodQuantity = goodQuantity;
	}
	public boolean isGoodUp() {
		return goodUp;
	}
	public void setGoodUp(boolean goodUp) {
		this.goodUp = goodUp;
	}
	
	
	
	
}
